﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Micronet.OpenWeb.OpenWeb.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <%--<asp:Button runat="server" ID="Button1" OnClick="Button1_Click"/>
        --%>
        <tt:RadScriptManager runat="server" ID="TestScriptMn">
        </tt:RadScriptManager>
        <tt:RadGrid runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
            AllowAutomaticUpdates="True" AllowPaging="True" AutoGenerateDeleteColumn="True"
            AutoGenerateEditColumn="True" CellSpacing="0" DataSourceID="TestODs" GridLines="None"
            Skin="Simple">
            <MasterTableView CommandItemDisplay="Top" DataSourceID="TestODs" DataKeyNames="CustomerID">
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <FilterMenu EnableImageSprites="False">
                <WebServiceSettings>
                    <ODataSettings InitialContainerName="">
                    </ODataSettings>
                </WebServiceSettings>
            </FilterMenu>
            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                <WebServiceSettings>
                    <ODataSettings InitialContainerName="">
                    </ODataSettings>
                </WebServiceSettings>
            </HeaderContextMenu>
        </tt:RadGrid>
        <asp:ObjectDataSource runat="server" ID="TestODs" DataObjectTypeName="EcommerceSimpleApp.Entities.CustomerEntity"
            DeleteMethod="Delete" InsertMethod="Insert" SelectMethod="SelectAll" TypeName="EcommerceSimpleApp.BLL.CustomerBLL"
            UpdateMethod="Update">
            <DeleteParameters>
                <asp:Parameter Name="id" Type="Int64" DefaultValue="2"/>
            </DeleteParameters>
        </asp:ObjectDataSource>
        <<asp:Label runat="server" ID="Label1"></asp:Label>
    </div>
    </form>
</body>
</html>
